var app = getApp()
Page({
    data: {                 
      PlateList:''
    },
    onShow: function (options) {
      this.getPlateList();
    },
    getPlateList:function(){
      var _this=this;
      app.request({
        url: app.globalData.apiUrl +'/mobileOfficing/api/orderPlate?pageNum=1&pageSize=10000' ,
        method:'POST',
        header:{
          'Content-Type':'application/x-www-form-urlencoded',
          'sessionId': wx.getStorageSync(app.globalData.sessionId),
          'plateTypeId':'0'
        },
        success:function(res){
         // console.log(res.data)
          if (res.data.result){
            _this.setData({
              PlateList:res.data.data.plates
            })
          }
        }
      })
    }
})